package cn.tude.car.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import cn.tude.car.pojo.Car;


//@Controller
@RestController
//@ResponseBody
public class CarController {
	@RequestMapping("/car/get")
	public Car get() {
		Car car =new Car();
		car.setId(114514);
		car.setName("野兽");
		car.setType("SeelpBlackTea");
		car.setPrice(456132.0);
		
		return car;
	}
}

/*
 * @Service public class CarService{}
 */